package xyz.doikki.videoplayer.exo;

import android.content.Context;

import xyz.doikki.videoplayer.player.IMediaPlayerFactory;

public class ExoMediaIMediaPlayerFactory extends IMediaPlayerFactory<ExoMediaPlayer> {

    public static ExoMediaIMediaPlayerFactory create() {
        return new ExoMediaIMediaPlayerFactory();
    }

    @Override
    public ExoMediaPlayer createPlayer(Context context) {
        return new ExoMediaPlayer(context);
    }

    @Override
    public String getName() {
        return "exo";
    }
}
